package dao;

import entity.Department;

import java.sql.Connection;
import java.sql.SQLException;

public interface DepartmentDaoInterface {
    Department find(Long id) throws SQLException;
    void add(Department department) throws SQLException;
    boolean update(Connection connection, Department department) throws SQLException;
    boolean delete(Integer id) throws SQLException;
}
